<template>
    <div class="container">
        <el-page-header @back="goBack" content="员工列表"></el-page-header>

        <clerkList :franchiseId="franchiseId"></clerkList>
    </div>
</template>

<script>

import clerkList from '@/components/clerk-list/clerk-list.vue'
export default {
    layout: 'admin',
    components: {
        clerkList
    },
    head() {
        return {
            title: '员工列表'
        }
    },
    data() {
        return {
            franchiseId: 0
        }
    },
    watch: { 
        
    },
    mounted() {
        this.franchiseId = localStorage.getItem('franchiseid')
    },
    methods: {
        goBack() {
            this.$router.go(-1)
        }
    }
}
</script>

<style lang="scss" scoped>

</style>